/*
 * Resource.java
 */

package xq.util.resource;

import java.io.File;
import java.io.IOException;
import java.io.Serializable;
import java.net.URI;
import java.net.URL;

/**
 *
 * @param <T> 
 * @author ThorntonRP
 */
public interface Resource<T> extends Serializable {

	public File getResourceFile();

	public URL getResourceURL();

	public URI getResourceURI();
	
	public T getContent() throws IOException;
	
	public String getContentType() throws IOException;
}
